package com.gismore.demo.db.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lei
 * @since 2017-06-07
 */
@Data
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 
	 */
	@TableField(value="cls_id")
	private Integer clsId;

	/**
	 * 
	 */
	private String title;

	/**
	 * 
	 */
	private String content;

	/**
	 * 
	 */
	@TableField(value="cover_thumb")
	private String coverThumb;

	/**
	 * 
	 */
	private String thumbs;

	/**
	 * 
	 */
	private String attach;

	/**
	 * 
	 */
	private String source;

	/**
	 * 
	 */
	private Date addtime;

	/**
	 * 
	 */
	private Date ptime;

	/**
	 * 修改正文或者标题等实际内容的时间
	 */
	private Date modifytime;

	/**
	 * 
	 */
	private Date updatetime;

	/**
	 * 
	 */
	private Date deletetime;

	/**
	 * 
	 */
	private String author;

	/**
	 * 
	 */
	private Long hits;

	/**
	 * 
	 */
	private String tags;

	/**
	 * 
	 */
	private String url;

	/**
	 * 
	 */
	private Integer rank;

	/**
	 * 0:新增加 1:发布 -1:归档
	 */
	private Integer valid;

	/**
	 * 1-置顶 0-不置顶
	 */
	private Integer sticky;


}
